﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Process.Domain.DTO.InputDTO
{
  
        public class WorkflowData
        {
            public string Id { get; set; }
            public string Name { get; set; }
            public string Description { get; set; }
            public List<Node> Nodes { get; set; }
            public List<Connection> Connections { get; set; }
        }

        public class Node
        {
            public string Id { get; set; }
            public string Type { get; set; }
            public string Name { get; set; }
            public Position Position { get; set; }
        }

        public class Position
        {
            public float X { get; set; }
            public float Y { get; set; }
        }

        public class Connection
        {
            public string Id { get; set; }
            public string Source { get; set; }
            public string Target { get; set; }
            public string Type { get; set; }
        }
    
}
